package com.leonzhangxf.ioc;

import java.util.Set;

/**
 * @author leonzhangxf
 */
public interface BeanDefinitionRegistry {

    /**
     * Register bean definition.
     *
     * @param beanDefinition beanDefinition
     */
    void registerBeanDefinition(BeanDefinition beanDefinition);

    /**
     * Register bean definition.
     *
     * @param beanDefinitions beanDefinitions
     */
    void registerBeanDefinitions(Set<? extends BeanDefinition> beanDefinitions);
}
